<template>
  <div id="app">
    <el-container>
      <el-header>
        <MyNav></MyNav>
      </el-header>

      <el-main>
        <router-view></router-view>
      </el-main>

      <el-footer>
        <MyFooter></MyFooter>
      </el-footer>
    </el-container>

    <!-- 音乐播放器 -->
    <MusicPlay></MusicPlay>
  </div>
</template>

<script>
import MyNav from "./components/MyNav.vue";
import MyFooter from './components/MyFooter.vue';
import MusicPlay from "./components/MusicPlay.vue";

export default {
  name: "App.vue",

  components: {
    MyNav,
    MyFooter,
    MusicPlay,
  }
}
</script>

<style lang="less" scoped>

.el-header {
  width: 1100px;
  margin: 0 auto;

}
</style>